#ifndef __BUFFER__
#define __BUFFER__
#include "Logic.h"

class CBufferExt
{
public:
	int m_circle ;
	double m_a_s ;
	double m_radius ;
	CArc m_Arc ;
public:
	CArc* GetBaseBuffer( CPoint ptF ,CPoint ptT ) ;
	CArc* GetBaseBuffer( CPoint pt ) ;
	void GetBaseBuffer( const CArc* pArc , CArcArray* pBuffer ) ;
	CArea* Unite( CAreaArray* pAreaArray , int bShowProg = 0 ) ;
	CArea* Unite( CArcArray* pArcArray ) ;
public:
	CBufferExt() ;
	~CBufferExt() ;
public:
	void SetCircle( int ) ;
	BOOL Buffer( double dfRadius , const CArcArray* pArcArray , CArcArray* pBufferArray ) ;
} ;
#endif
